<form id="update-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group" id="title">
        <label class="control-label col-xs-12 col-sm-2">回收规则:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label>
                    <input name="row[auto]"  type="radio" value="1" {eq name="seas.auto" value="1" }checked{/eq}>自动回收
                </label>
                <label>
                    <input name="row[auto]"  type="radio" value="0" {eq name="seas.auto" value="0" }checked{/eq}>不自动回收
                </label>
            </div>

            <div class="checkbox auto" style="display: none">
                <div>
                    <label>
                        <input  name="row[genjing]" {eq name="seas.genjing" value="1" }checked{/eq} type="checkbox" value="1">超过N天“无新建跟进（跟进记录）”的客户，由系统定时退回公海客户池
                    </label>

                    <div class="genjing" style="display: none">
                        <div>
                            选择不进入公海客户:
                            <label>
                                <input  name="row[genjing_success]" {eq name="seas.genjing_success" value="1" }checked{/eq} type="checkbox" value="1">已成交客户
                            </label>
                        </div>
                        <div>
                            超过<input type="number" name="row[genjing_day]" value="{$seas.genjing_day}"  style="width: 100px">天未跟进，进入公海
                        </div>
                        <div>
                            并且按客户名称关键词<input type="text" name="row[genjing_c_name]" value="{$seas.genjing_c_name??''}"  placeholder="只回收匹配数据，留空为不限制" style="width: 220px">
                        </div>
                    </div>
                </div>
                <br>
                <div>
                    <label>
                        <input name="row[chengjiao]"  {eq name="seas.chengjiao" value="1" }checked{/eq} type="checkbox" value="1">超过N天“未成交”的客户，由系统定时退回公海客户池
                    </label>
                    <div class="chengjiao" style="display: none">
                        <div>超过<input type="number" name="row[chengjiao_day]" value="{$seas.chengjiao_day}" style="width: 100px">天未成交，进入公海</div>
                        <div>
                            并且按客户名称关键词<input type="text" name="row[chengjiao_c_name]" value="{$seas.chengjiao_c_name??''}"  placeholder="只回收匹配数据，留空为不限制" style="width: 220px">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">手机号列表显示:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label>
                    <input name="row[phone_auto]"  type="radio" value="1" {eq name="seas.phone_auto" value="1" }checked{/eq}>是
                </label>
                <label>
                    <input name="row[phone_auto]"  type="radio" value="0" {eq name="seas.phone_auto" value="0" }checked{/eq}>否
                </label>
            </div>

            <div class="checkbox phone_auto" style="display: none">
                <div class="radio">
                    <label>
                        <input name="row[phone_auty]"  type="radio" value="1" {eq name="seas.phone_auty" value="1" }checked{/eq}>手机号脱敏
                    </label>
                    <label>
                        <input name="row[phone_auty]"  type="radio" value="0" {eq name="seas.phone_auty" value="0" }checked{/eq}>手机号不脱敏
                    </label>
                </div>
            </div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success">{:__('Submit')}</button>
            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
        </div>
    </div>
</form>
